{layout name="layout"}
<header id="header">
    <nav class="container-fluid nav_main">
        <div class="row">
            <div class="col-sm-1 col-xs-12 ">
                <div style="position: relative;top: 10px">
                    <a href="/"><img src="/static/image/icon_back.png" height="30" alt=""></a>
                    <img  id="controlNav" class="control_nav  pull-right" src="/static/image/unfold.png" width="30" alt="">
                </div>
            </div>

            <div id="navSonMobileHidden" class="col-sm-11 ">
                <div  class="col-sm-4">
                    <ul>
                        <li ><a href="/user">首页</a></li>
                        <li ><a href="/user">推荐</a></li>
                        <li ><a href="/user">图片</a></li>
                        <li><a href="#">视频</a></li>
                        <li><a href="#">博客</a></li>
                    </ul>
                </div>

                <div class="col-sm-4 ">
                    <form action="/user/search">
                        <input type="text"  placeholder="内容">
                        <input type="submit" value="搜索">
                    </form>
                </div>

                <div class="col-sm-4">
                    <ul class="">
                        <li id="spreadMore"><a target="_blank" href="/task" class="">待办事项 </a></li>
                        <li id="userCard"><a  href="/user/personal">USER</a></li>
                        <li style="background-color: green"><a style="color: white" href="/login/0">登录</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </nav>
</header>

<div id="navSonRight">
    <div  class="container-fluid nav_son_right">
        <hr>
        <ul class="row">
            <li style="background-color: red"><a href="/user">首页</a></li>
            <li><a href="/user">图片</a></li>
            <li><a href="/user">视频</a></li>
            <li><a href="/user">博客</a></li>
        </ul>
        <hr>
        <ul class="row">
            <li style="background-color: purple"><a href="/user">热门推荐</a></li>
            <li><a href="/user">今日磅單</a></li>
            <li><a href="/user">明星</a></li>
            <li><a href="/user">美食</a></li>
            <li><a href="/user">生活</a></li>
            <li><a href="/user">更多</a></li>
            <li ><a target="_blank" href="/task" class="">待办事项</a></li>

        </ul>
        <hr>
        <ul class="row">
            <li><a href="/user/personal">个人信息</a></li>
            <li><a href="/user/vip">等级成长</a></li>
            <li><a href="/user/collect">我的收藏</a></li>
            <li><a href="/user/attention">我的关注</a></li>
            <li><a href="/user/history">历史记录</a></li>
            <li><a href="/user/upload">我的上传</a></li>
            <a href="/user/exit" class="btn btn-danger">登录</a>
        </ul>
        <hr>
    </div>
</div>
<!--<div api="" style="position: relative; top: 100px">-->
<!--    <form action="">-->
<!--        <input type="text">-->
<!--        <input type="submit">-->
<!--    </form>-->
<!--</div>-->
<img id="control_back_detail"
     class="img-responsive back_set dim" width="100%" height="100%"
     {if count($imageFirst)==0}
     src="/static/image/back.jpg"
     alt="">
{else /}
src="{$imageFirst[0]['image_url']}"
alt="">
{/if}

<div class="content container-fluid">
    {include file="public/left_menu" /}
    {include file="public/showmain" /}
</div>